Exploring the Design Space of Higher-Order Casts ; CU-CS-1047-08

نویسندگان

  • Jeremy Siek
  • Ronald Garcia
  • Walid Taha
  • Jeremy G. Siek
چکیده

This paper explores the surprisingly rich design space for the simply typed lambda calculus with casts and a dynamic type. Such a calculus is the target intermediate language of the gradually typed lambda calculus but it is also interesting in its own right. In light of diverse requirements for casts, we develop a modular semantic framework, based on Henglein’s Coercion Calculus, that instantiates a number of space-efficient, blame-tracking calculi, varying in what errors they detect and how they assign blame. Several of the resulting calculi extend work from the literature with either blame tracking or space-efficiency, and in doing so reveal previously unknown connections. Furthermore, we introduce a new strategy for assigning blame under which casts that respect traditional subtyping are statically guaranteed to never fail. One particularly appealing outcome of this work is a novel cast calculus that is well-suited to gradual typing.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Exploring the Design Space of Higher-Order Casts

This paper explores the surprisingly rich design space for the simply typed lambda calculus with casts and a dynamic type. Such a calculus is the target intermediate language of the gradually typed lambda calculus but it is also interesting in its own right. In light of diverse requirements for casts, we develop a modular semantic framework, based on Henglein’s Coercion Calculus, that instantia...

متن کامل

Exploring the Meaning of Quality from Urban Space Users’ Viewpoint by Analyzing Conceptual Environment Codes

The main purpose of urban design is to create good and high-quality urban spaces and environments for people to live while such quality may not be determined only by imposing a structural, perceptual and value system of the designer. It can be said that human and his powers to perceive surrounding environments are the focus of urban design. Having reviewed previous researches and theories in re...

متن کامل

Adsorption of Pyrazolone[HPMSP1,Calix[4]-arene, Cu(II) and Cs on Carbon Nanotube

The adsorption of pyrazolone(HPMSP), Calix[4]-arene,Cu and Cs, on carbon nanotube(CNT) atroom temperature has been investigated using spectroscopy.Uv spectroscopy indicated that pyrazolone molecules adsorbed on carbon nanotube at roomtemperature in compared calix[4]- arene molecules adsorbed approximately same.The amount ofpyrazolone(HPMSP) adsorb 3.8. le mol/g and amount calix[4]-arene adsorbe...

متن کامل

Exploring the Use of Random Regression Models withLegendre Polynomials to Analyze Clutch Sizein Iranian Native Fowl

Random regression models (RRM) have become common for the analysis of longitudinal data or repeated records on individual over time. The goal of this paper was to explore the use of random regression models with orthogonal / Legendre polynomials (RRL) to analyze new repeated measures called clutch size (CS) as a meristic trait for Iranian native fowl. Legendre polynomial functions of increasing...

متن کامل

Dietary Chitosan-Cu Chelate Affects Growth Performance and Small Intestinal Morphology and Apoptosis in Weaned Piglets

Yue X., Hu L., Fu X., Lv M., Han X. (2017): Dietary chitosan-Cu chelate affects growth performance and small intestinal morphology and apoptosis in weaned piglets. Czech J. Anim. Sci., 62, 15–21. The effects of dietary chitosan-copper chelate (CS-Cu) on growth performance, diarrhea, intestinal morphology and epithelial cell apoptosis in weaned piglets was investigated. One hundred and sixty Dur...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015